//
//  WYRGroupBuyButton.m
//  彩票项目
//
//  Created by 伍银荣 on 2021/8/3.
//  Copyright © 2021 com.WYR. All rights reserved.
//

#import "WYRGroupBuyButton.h"
#import "UIView+Frame.h"

@implementation WYRGroupBuyButton



-(void)layoutSubviews {
    [super layoutSubviews];
    
    self.titleLabel.x = 0;
    
    self.imageView.x = self.titleLabel.w;
    
//    CGRect titleRect = self.titleLabel.frame;
//    titleRect.origin.x = 0;
//    self.titleLabel.frame = titleRect;
//
//
//    CGRect imgRect = self.imageView.frame;
//    imgRect.origin.x = titleRect.size.width;
//    self.imageView.frame = imgRect;
    
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
